#!/usr/bin/python
# -*- coding:utf-8 -*-


def func(a):
    if a > 100:
        return True
    else:
        return False


print filter(func, [10, 56, 101, 500])

re = map((lambda x, y: x + y), [1, 2, 3], [6, 7, 9])

re = map((lambda x: x + 3), [1, 3, 5, 6])

print reduce((lambda x, y: x + y), [1, 2, 5, 7, 9])
